package com.brillilab.service.core.system;

import java.util.List;

import com.brillilab.domain.enums.file.FileDownloadTypeEnum;
import com.brillilab.domain.po.system.FileDownload;
import com.brillilab.domain.po.system.FileManage;

/**
 * 文件下载
 * @author LJ
 *
 */
public interface IFileDownloadService {

	void save(Long fileId, Integer attachType,  Long labId, Long labMemberId, FileDownloadTypeEnum downloadType);

	FileDownload getFileDownload(Long fileId, Long labMemberId);

	List<Long> getFileIds(Integer type, Long sourceId);

	List<FileDownload> getFileDownloadList(Long fileId);

	List<FileManage> getDownloadFileList(Long userId, String startDate, String endDate);

}
